= form_for @article do |f|
  .form-group
    label 
      | 标题
      = f.text_field :title, class: 'form-control'
  .form-group
    label 
      | 内容
      = f.text_area :content, class: 'form-control'
  
  = f.submit 'save'